Skip to content

Move shutdown handler to after LuaEngine initialization#482

Merged
SaltySnail merged 2 commits into
BeamMP:minorfrom
Neptnium:minor
May 8, 2026
Merged

Move shutdown handler to after LuaEngine initialization#482
SaltySnail merged 2 commits into
BeamMP:minorfrom
Neptnium:minor

Conversation

@Neptnium
Copy link
Copy Markdown
Contributor

@Neptnium Neptnium commented Apr 9, 2026

This fixes and closes #481


By creating this pull request, I understand that code that is AI generated or otherwise automatically generated may be rejected without further discussion.
I declare that I fully understand all code I pushed into this PR, and wrote all this code myself and own the rights to this code.

@Neptnium
Copy link
Copy Markdown
Contributor Author

Neptnium commented Apr 9, 2026

Just noticed that it actually now kicks the players AFTER the shutdown event, which might not be the best idea.

@WiserTixx WiserTixx requested a review from SaltySnail April 25, 2026 18:31
Copy link
Copy Markdown
Collaborator

@SaltySnail SaltySnail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, looks good to me

@SaltySnail SaltySnail merged commit a008e1e into BeamMP:minor May 8, 2026
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] onShutdown events not working

2 participants